//
//  DLWeChatPayOrAuthConfig.h
//  DGGSharePaySDK
//
//  Created by Dracy on 2019/8/20.
//  Copyright © 2019 dgg_hzk. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef NS_ENUM(NSUInteger, DLWeChatPayOrAuthCustomPlatformType) {
    
    DLWeChatPayOrAuthCustomPlatformTypeWeiXinPay = 1001, //微信支付
    DLWeChatPayOrAuthCustomPlatformTypeWeiXinAuth = 1002,//微信授权登录
    DLWeChatPayOrAuthCustomPlatformTypeWechatSession = 1003,//微信好友
    DLWeChatPayOrAuthCustomPlatformTypeWechatTimeLine = 1004,//微信朋友圈
};

@interface DLWeChatPayOrAuthConfig : NSObject

/**
 * 注册平台信息
 @param platform 分享平台
 @param appId appId
 @param appSecret appSecret
 @param pid   商户ID   可不填 （支付宝支付）
 @param uriStr  授权的应用回调地址  比如：alidemo://auth（支付宝支付）
 */
+ (id)configPlatform:(DLWeChatPayOrAuthCustomPlatformType)platform
               appId:(NSString *)appId
           appSecret:(NSString *)appSecret
       universalLink:(NSString *)universalLink
                 pid:(NSString *)pid
         redirectUri:(NSString *)uriStr;

@end
